package com.hoshiicloud.user.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * 平台消费者信息分页查询参数实体
 *
 * @author : yangcheng
 * @date : 2019/5/9 14:17
 * @mail : maiboyc@163.com
 **/
@ApiModel
@Data
public class PlatStoreConsumerPageParam {

    /**
     *当前页
     */
    @ApiModelProperty(name = "pageIndex", value = "当前页码", required = true, dataType = "java.lang.Long", example = "1")
    private Long pageIndex = 1L;

    /**
     *每页数量从1开始
     */
    @ApiModelProperty(name = "pageSize", value = "每页大小", required = true, dataType = "java.lang.Long", example = "10")
    private Long pageSize = 10L;

    // 推荐码
    @ApiModelProperty(name = "inviteCode", value = "推荐码", dataType = "java.lang.String", example = "FH0986")
    private String inviteCode;

    // 注册方式（0-普通 1-298推广注册）
    @ApiModelProperty(name = "regShare", value = "注册方式", dataType = "java.lang.Integer", example = "0")
    private Integer regShare;

    // 渠道（1-app 2-微信 3-pc 4-qq）
    @ApiModelProperty(name = "channel", value = "渠道", dataType = "java.lang.Integer", example = "1")
    private Integer channel;

    @ApiModelProperty(name="storeIds",value = "店铺主键列表,用逗号分割",dataType = "java.lang.String",example = "1")
    private String storeIds;

    @ApiModelProperty(name="parentIds",value = "推荐人主键列表,用逗号分割",dataType = "java.lang.String",example = "1")
    private String parentIds;

    @ApiModelProperty(name="platformId",value = "平台主键",dataType = "java.lang.Long",example = "1")
    private Long platformId;

    // 手机号
    @ApiModelProperty(name = "phone", value = "手机号", dataType = "java.lang.String", example = "13655030683")
    private String phone;

    // 姓名
    @ApiModelProperty(name = "name", value = "姓名", dataType = "java.lang.String", example = "杨成")
    private String name;

    // 消费者编号
    @ApiModelProperty(name = "consumerId", value = "消费者编号", dataType = "java.lang.Long", example = "3496131038536958276")
    private Long consumerId;

    // 上级手机
    @ApiModelProperty(name = "parentPhone", value = "上级手机", dataType = "java.lang.String", example = "18065024201")
    private String parentPhone;

    // 注册店铺主键
    @ApiModelProperty(name="registeredStoreIds",value = "注册店铺主键，用逗号分割",dataType = "java.lang.String")
    private String registeredStoreIds;

}
